Update directives.js

keep persona login after a refresh