events added for loger and between login window and menu window; test for loger needs to be rewrite to check if event is raised