Enforcing that the user is logged in