Modify email library
Modify controller login