Added users model.
Added generate_id method
Added users resources and api endpoints.