Generated search files and fixed friendship request bug