Added ability to register, sign in, and sign out.