Make it work when the user is not logged-in