Submission and history functions are now working