reverted change to migrations that should not have been made in 63ae2de.
fixed promises, and added token creation