connection to database not succesful