Completed submission and error checking, created code lookup on admin page