cleaning up the sign in process