First (insecure) implementation of Database connection. Probably doesn't really work