Adding in client ability to register. Was deleted by earlier commit.