Register user by server

Have created a RegistrationException. See server.java for ways it is
used.

Waiting on JT to implement registration on chatclient