Login and logout works now