Added logic and view to main index for user orders link