Comment-related functionality refactor

Moved the Comment-related functionality from the User class in a separate one. Implemented an InvalidUserException to properly deal with invalid users