Implemented serverside registration and validation