clean up the code a bit
Finish sign in