ignore database config file
add paginate method to posts and add user references to posts