added login slice