Added admin page and admin authentication also fixed issues with login
redirect