added redirect_to self.toFriends to eliminate duplicate code