Finished authentication. Can now register and log in. Closes #1