testing res.end()
fixing cant set headers after sent
testing
fix validation
woeifjweoifj
added api/locks endpoint