Implemented server side logic to validate friendsession creation