adding pending friend + refuse + cloud code