Freedom of religion and its impact on education