Added login page for the admin, added permission check for the settings views