added user model
create and login user api