Added login functionality (sans new condition for admin-only menu)