fixed accept POST method for friend