Added delete friend and perfected core data