add posts_count to User
add locale config path to config/application.rb