A more django style AUTH_USER_MODEL setting and some utils