login modal init
fixed merge conflicts
added email check