decorate dashboard, rectify login bug