signup revert and get friends and posts API extended