Trying to contact the database