login window now checks database for verification