Admin pages and login functionality working