Finishing up the authentication