added example API for users and posts as well as tests for this example API