Added login/logout options
Login/lougout enabled/disabled according to login status
Check for login info in session immediately