restrict jade files on authrntication and add modal popup to create user after page reload