Controller fixed and enhanced for saving assigned date in required
format and places