login screen and basic db setup