allow only logged in users
added nprogress bar