added management command to print patients