added toast css and controller activation, added login control