minor refactoring: cleaning up routes + correcting credit statement route