Imports github.com/go-sql-driver/mysql github.com/gorilla/sessions github.com/jmoiron/sqlx goji.io goji.io/pat golang.org/x/crypto/pbkdf2 Standard library imports bytes crypto/rand crypto/sha256 database/sql encoding/json fmt io/ioutil log math net/http os strconv time