Various fixes

Signin and signup are now "refresh-proof"
Slightly modified ui-bootstrap.js to support bootstrap v3