Modeling user routines and preferences for navigation