Refactored previous submission to use User class instead of properties inside the Client class. Also made login error messages appear within the chat app instead of just in the console. Also added Role class, although it is currently not used anywhere.