First draft of Login/Logout part as well