Finished the authentication