def post(self):
    self.write(json.dumps(dict(location='/tasks', user=self.current_user,
        timestamp='', projects='', type='', taskCount='', resName='')))
Tornado redirecting to page with parameters