Implement a middleware for checking and verifying token. - [ ] should allow access to the requested route if verified - [ ] should restrict access if failed - [ ] should have an expiry of 2 weeks token - [ ] should use packages like jwt - [ ] should return 400 on failed
Implement a middleware for checking and verifying token.