Minor improvements
Fix postgres connection via host, name, user, password params (not dsn)
Fix Profile getting and saving