Naive implementations of Login / Register and Logout