Endpoint created which takes list of mobiles and make users with these mobiles friends of current_user
replace create with save when called on associations in all places
also check true or false returned by save instead of exception
also add code in friendship model, so that friends can also be made without invitation