Imports golang.org/x/crypto/bcrypt gopkg.in/mgo.v2 gopkg.in/mgo.v2/bson Standard library imports bytes crypto/sha512 encoding/base64 encoding/json errors fmt log math/rand net/http strconv strings time