Optimization of User Based Collaborative Filtering