login feature revamped using AJAX

login feature now: uses ajax for loging in and registering: parses
emails: filters emails: does not glitch under load.