Added pace.js and logout feature