added more complete user model and started implementing resource/REST api for users.