Issue:
refactor: Home and Sign out API changes for 2FA Phase - II

As we are having the reset TOTP and regenerate recovery codes flows in the Phase - II, we need to let FE know whether the user has completed the 2FA or not and also number of recovery codes left for the user, so that FE can show a warning if there are less.

And also redis needs to be cleaned up if user signs out.

Resolution:
<think>
PR Context:
- Title: refactor(users): Changes for Home and Signout APIs for TOTP Redis flows
- Merged: 2024-06-03T14:25:35Z
- Files changed: 3 files
- Commits: 5 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [ ] Bugfix
- [ ] New feature
- [ ] Enhancement
- [x] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
<!-- Describe your changes in detail -->
After this PR, Home API will send the details about the user's 2FA, specifically weather user has completed 2FA setup and number of recovery codes left for him.

### Additional Changes

- [x] This PR modifies the API contract
- [ ] This P
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** refactor(users): Changes for Home and Signout APIs for TOTP Redis flows (#4851)
Co-authored-by: hype
Files to modify:


**crates/api_models/src/user.rs**
  Modify existing code

**crates/router/src/core/user.rs**
  Modify existing code

**crates/router/src/utils/user/two_factor_auth.rs**
  Add:
    - function: pub::delete_totp_from_redis
    - function: pub::delete_recovery_code_from_redis