Enforces login. This is togglable via boolean.