Fixes order or currentUser and anoonymousPermit varibable -- pushes
them before initialization.