Removed bug with auto login