Check if user exists before creating database in postgresql