How do you know if user_login_submit was successful in Drupal 7?
You can check if user is logged in or not by using global $user variable, if user is not logged in then $user->uid will be 0 for anonymous users.