Fix issue when logging in

When logging in, some of the slate methods returned undefined.