setting up redirect from admin area if user is not logged in