Completes the sign in procedure