Added authentication control and configured e-mail