fixing login route
manage preferences using Ext.util.LocalStorage
save last username/locale information