add support method to realms
add usernamepasswordtoken impl