half-way through
completed sign-in function
finish sign in