v1-api: Adapted resouce/user api.

Added project-id support in resource api and source-id support in user
api.

Change-Id: I3295a36a4b3a57e9451cc042d542ead1354f8e61