editing front end and enabling auto redirection from admin login to admin panel