event source is now working
improve login