added getters for name and email