Added a bettre management for log in Eoc Manager