renamed user resource
add counter cache to user posts
add unique index to github username
fix some minor details