datepicker controller merged into admincontroller for siplicity of scope in #51