removed unnecessary comments
refactored instead of sending the room object, just send the id of the
room
refactored moved the error messages to the ErrorMessage class