Moved courses to wtforms plus fixes