modified create method in controller and format of exp_date in ajax call