Adds devise helpers
Adds index in posts table