Fix getCookie (was using jquery ... ooops)
Move view decoration in views.py