fixed the sign in bug