updated login screen to use database to check and verify directly