Refactor GLUser and GLDatabase slightly.