Added auth to the command handler