add activat and email function to admin