finish sign in
Code cleanup