Added connection with server for friend requests

need to be revised the first part of the process of adding friends cause
the window of confirmation only appears when you touch the back button