minor refactoring: all major endpoints will be encrypted
adding more routes to test