add JS for settings
add login,logout and createaccount JS components
component.session: listen to login and logout events
component.settings: properly check the session object if the user property exists
add JS component for offline-supporting feedlist
createaccount/login: catch API exceptions