fixed signup issue
sync with Ido's changes
add global.js
redirect on successful signup
cutdown on alerts on failure