Fixed Crash on login