added postgres migrations, user validations