added db migrations, improved ux