creating postgresql databases and users