Fixed first time log in issue