Only logined user can get to admin and employee page now.