moved router to client side, fixed edit permission on other people posts