clear code for login/profile