Fixed server crash on failed login
Moved form styling to separate files
Added jade dependency and templated login page