adding endpoints for all commands