added check if user already attends event to avoid database errors in
EventManagement.inviteUsersToEvent; changed some comments; changed max.
line length in eclipse