Fixed the my events page being accessible even if a user is not logged in