Fixed the bug on signing in