Resource allocation, user association and placement for uav-assisted communications