login and logout from any page