very basic login to connect to database