Implement form validator functions and course edit