drupal login issue fixed by updating user_load function