fix null case for restoring user session
drop ability to send motion detection command for the moment