User can log in, out, and register