Fixing login/logout issues. Implemented auto login if a user was signed
in last..