Fix bug in login system!
Fixing bugs and improve login system(now - as login we use email address from database)