Bugfix: if not logged in, redirect to correct log in page