-Added Logout button

-Fixed offline.js excessive  error logs