added database with user and post models, also added tests for user_spec