moving  common view_friends code

moving common codes of view_friends and send_success into a single code
block reminder_view_friends