Deactivate functionality leads to the user being deleted and logged out