Imports github.com/codegangsta/martini github.com/martini-contrib/sessions code.google.com/p/xsrftoken Standard library imports fmt net/http regexp strconv strings time