api updated to support new custom_user model