Small API fixes
Bunch of web app changes to support local data, and made user/login/register/logout form a Knockout component
Added fail checking for login form