Checks for 'autologin' flag before setting sessions
Bug fix for autologin flag
Merge remote-tracking branch 'origin/master'
Minor performance fixes
Merge remote-tracking branch 'origin/master'