Registration now works from the client and more fixes