added log in security, can only view menues once logged in