Fixed a 500 error (fixed are_friends method)