added posts permissions and sidebar links for admin