after calling the javascript function by clicking on logout. p:remotecommand not executing .
this is my code xhtml