Merge pull request #12 from cvuong/rewrite-login

Rewrite login
fix submit
Merge pull request #13 from elihart/master

fix submit
Added error div for login