Added some checks for addfriend (temp)