function doLogin() {
	var username = document.getElementById('username').value;
    document.getElementById('loggedInResponse').innerHTML = "<p>Logging you in " + username + "...</p>";
    window.location.replace('#home');
/*    $fh.cloud(
        {
            path: 'hello',
            data: {
                hello: document.getElementById('loggedInInfo').value
            }
        },
        function (res) {
            document.getElementById('loggedInInfo').innerHTML = "<p>" + res.msg + "</p>";
        },
        function (code, errorprops, params) {
            alert('An error occured: ' + code + ' : ' + errorprops);
        }
    );*/
};
@@ -182,16 +182,18 @@
 %3E%22;%0A    
+//
 window.l
@@ -222,10 +222,8 @@
 ');%0A
-/*
     
@@ -266,14 +266,41 @@
 h: '
-hello'
+cloud/login?username=' + username
 ,%0A  
@@ -308,16 +308,19 @@
         
+ //
  data: %7B
@@ -327,24 +327,27 @@
 %0A           
+ //
      hello: 
@@ -399,24 +399,27 @@
 %0A           
+ //
  %7D%0A        %7D
@@ -461,85 +461,303 @@
     
-document.getElementById('loggedInInfo').innerHTML = %22%3Cp%3E%22 + res.msg + %22%3C/p%3E%22;
+%0A            if (res.msg = '')%7B%0A              document.getElementById('loggedInInfo').innerHTML = %22%3Cp%3ENo user found!%3C/p%3E%22;%0A            %7D else%7B%0A              document.getElementById('loggedInInfo').innerHTML = %22%3Cp%3E%22 + res.msg.username+  %22 user found!%3C/p%3E%22;%0A            %0A            %7D%0A            
 %0A   

update file /www/js/login.js