got config.yml to work with postgres and fixed users migration