Added Authentication
Tried to fix posts index