added basic auth for adding post in post controller