User and Post models, posts controller and unit tests