added create function of bet controller