Now when there is no token it will be redirected to /login
Resolves: #243
Checklist
Before submitting this pull request, kindly verify that the ensuing checkpoints have been reached.
[x] Have you adhered to the repository's defined coding convention rules?
[ ] Have you updated the 'documentation.md' file with the method/function documentation?
[x] Have you sent a message along with the result or response?
[ ] Have you used the try-catch technique?
[ ] Has the method/class been added to the documentation (md file)?
I certify that I have carried out the relevant checks and provided the requisite screenshot for validation by submitting this pull request.
I appreciate your contribution.
Description
Now when there is no token it will be redirected to /login
Resolves: #243
Checklist
I certify that I have carried out the relevant checks and provided the requisite screenshot for validation by submitting this pull request. I appreciate your contribution.