authenticating users current user to only edit their posts