Added check adding and editing functionality

- Added check functinality
- Fixed redirects