title: Parse.User.Login is not a function?
body: <p>I'm teaching myself a bit of Javascript &amp; Parse.com.  I'm following this video: <a href="https://www.youtube.com/watch?v=vB5lo9bx57s&amp;list=PLoN_ejT35AEhbFswEKW36LxzyXJs7xCWS&amp;index=6" rel="nofollow">https://www.youtube.com/watch?v=vB5lo9bx57s&amp;list=PLoN_ejT35AEhbFswEKW36LxzyXJs7xCWS&amp;index=6</a></p>
  
  <p>Here is the code.  The issue is that I cannot log in.  When I try, I get the following returned message in the console:</p>
  
  <blockquote>
    <p>TypeError: Parse.User.LogIn is not a function</p>
  </blockquote>
  
  <p>I'm a bit lost, as it clearly is a function that works both on the video &amp; on other tutorials.</p>
  
  <p></p>
  
  <p></p>
  
  <pre><code>&lt;h1&gt;Log In!&lt;/h1&gt;
  
  &lt;form id="login"&gt;
    &lt;p&gt;&lt;input id="login-name" type="text"&gt;&lt;/p&gt;
    &lt;p&gt;&lt;input id="login-password" type="password"&gt;&lt;/p&gt;
    &lt;p&gt;&lt;input id="login-submit" type="submit"&gt;&lt;/p&gt;
  &lt;/form&gt;
  
  &lt;h1&gt;Sign Up!&lt;/h1&gt;
  &lt;form id="signup"&gt;
    &lt;p&gt;&lt;input id="signup-name" type="text"&gt;&lt;/p&gt;
    &lt;p&gt;&lt;input id="signup-password" type="password"&gt;&lt;/p&gt;
    &lt;p&gt;&lt;input id="signup-submit" type="submit"&gt;&lt;/p&gt;
  &lt;/form&gt;
  
  &lt;h1&gt;You're ready to use Parse!&lt;/h1&gt;
  
  &lt;form id="post-form"&gt;
    &lt;p&gt;&lt;input id="post-title" type="text"&gt;&lt;/p&gt;
    &lt;p&gt;&lt;textarea id="post-content"&gt;&lt;/textarea&gt;&lt;/p&gt;
    &lt;p&gt;&lt;input type="radio" name="post-select" value="0" checked&gt;Not Selected
    &lt;br&gt;&lt;input type="radio" name="post-select" value="1"&gt;One
    &lt;br&gt;&lt;input type="radio" name="post-select" value="2"&gt;Two
    &lt;br&gt;&lt;input type="radio" name="post-select" value="3"&gt;Three
    &lt;br&gt;&lt;input type="radio" name="post-select" value="4"&gt;Four
    &lt;/p&gt;
    &lt;p&gt;&lt;input id="post-submit" type="submit"&gt;&lt;/p&gt;
  &lt;/form&gt;
  
  &lt;ul id="list-posts"&gt;
      &lt;!--
        &lt;li&gt;
            &lt;h3&gt;&lt;/h3&gt;
            &lt;p&gt;&lt;/p&gt;
        &lt;/li&gt;
       --&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p></p>
  
  <p></p>
  
  <pre><code>Parse.initialize("abc", "123");
  
      var Post = Parse.Object.extend("Post");
  
      $("#login").submit(function(event){
        event.preventDefault();
  
          var name = $("#login-name").val();
          var pass = $("#login-password").val();
  
        Parse.User.LogIn(name, pass, {
          success: function(user){
            console.log("Log In Success!");
          }, error: function(user, error){
            console.log("Log In Error:"+error.message);
          }
        });
      });
  
      $("#signup").submit(function(event){
        event.preventDefault();
  
        var name = $("#signup-name").val();
        var pass = $("#signup-password").val();
  
        var user = new Parse.User();
        user.set("username",name);
        user.set("password",pass);
  
        user.signUp(null, {
          success: function(){
            //
          }, error: function(user, error){
            console.log("signup error:"+error.message);
          }
        });
      });
  
      function getPosts() {
        var query = new Parse.Query(Post);
        query.find({
          success: function(results) {
            var output = "";
            for (var i in results) {
              var title = results[i].get("title");
              var content = results[i].get("content");
              var pselect = results[i].get("pselect");
  
              output += "&lt;li&gt;";
              output += "&lt;h3&gt;"+title+"&lt;/h3&gt;";
              output += "&lt;p&gt;"+content+"&lt;/p&gt;";
              output += "&lt;p&gt;"+pselect+"&lt;/p&gt;";
              output += "&lt;/li&gt;";
            }
            $("#list-posts").html(output);
          }, error: function(){
            console.log("Query Error:"+error.message);
        }
        });
      }
  
      getPosts ();
  
      $("#post-form").submit(function(event) {
      event.preventDefault();
      var title = $("#post-title").val();
      var content = $("#post-content").val();
      var pselect = $(":input[name=post-select]:checked").val();
  
      var newPost = new Post();
      newPost.set("title", title);
      newPost.set("content", content);
      newPost.set("pselect", pselect);
  
      newPost.save({
          success: function(){
            getPosts ();
        },
          error: function(error){
          console.log("Error:"+error.message);
        }
       });
  });
  </code></pre>
  
  <p>
  </p>
  
  <p></p>