change the form name to email, since we only support email login now
add main.js to support dynamic update the post url according to user's
click on signin or signup
merge mia