Fixed collapse / expand of menu
requireAuthentication implemented