fixed bug with first time sign in