added user resource
modified user model