Tidying up course add form, add check for duplicate names.