Enforcing authentication "permissions"

The client thread will now check to see if a user is authenticated
before calling a handler. If a user is not authenticated the system will
only respond to NULL, LOGOUT, LOGIN, ERROR, SUCCESS, AUTH or REGISTER
messages from the client. Any other type of message will prompt the
server to send them an error message.