Registering works, need to add validation etc. Also give the right MAC for the server