                          var username = $("#username").val();
                            var password = $("#password").val();
                            var rsaPublicKey = $("#rsaPublicKey").val();

                            //var encodeUsername = encode64(username);
                            //var encodePassword = encode64(password);
                            var encryptedUserName = rsaEncrypt(rsaPublicKey, username);
                            var encryptedPassword = rsaEncrypt(rsaPublicKey, pas