Login Issue fixed by using $('#userID').val()