Hiding the username popup when clicking on the chat button

Hi,
I have given the username in code by giving in the userinfo.username but its still asking me the username? Could please help me? In iOS