defined part of the user model and created the add user method in users repo