Added new messages to the ban and unban command.

Also cleaned up the function calls and added the eof newline.