still working on cookie issue, trying to implement rake tasks