add post CRUD

Complete CRUD functionality for Post resource. 
Fixed user behavior : 
User automatically logged in after signup