added user posts improvements
added authentication for edit user