Added datetimepicker @ frontend. Fixed bugs in controller
merged changes