added admin login and redirect