Auth refactoring; Fix problem with dashbord device list updating