You can try to insert the user and use [mgo.IsDup](http://godoc.org/labix.org/v2/mgo#IsDup) to check whether the returned error represents an duplicate key error in the database.