Added id to user resource
Modified user resource inorder to obtain user id