Update logout.js

When logged out redirect to login page