update cameo-login directive, add to requirejs