Finished rudimentary authentication.