lets a user edit a post