'getFirends' returning a 'Session' instance

The function 'getFriends' return a 'Session' instance instead of a 'Friends' instance.