Added isAuthenticated call to user.mayEditProject method