Update login.js

adding comments to logout