usage of localStorage to prevent login on page reload

https://github.com/embercasts/authentication-part-2/blob/master/public/js/app.js