removed switch statement cookie contains int number of days corresponding with day/week/month
Merge remote-tracking branch 'origin/master'