if not logged in, redirect to login page - DONE