Removed redundant code, where two calls were being made to the server for friends details (since the introduction of the profile page)