Login/Logout Update

Tested and Debugged in GAE localhost