Fixed appointment store controller to use passed in date