fixed bug to login from createaccount page