client into a models folder
added test for registration