Escape commas

Refresh of external group is now functional. I'll continue to work on the initial user log-in and update the pull request.