created relaton between post and category

category has_many => posts
and
posts is belong_to category
updated for current_user
Merge pull request #1 from akashshinde/master

some updates