removed /submit view and extra print statement