moving the user and post routes out to "controllers" for clarity