1. added login listener in application.js
2. rendering header based on login
3. done with user model