add erlang client-side security to global nav