Changed User class name in models to Team. Made appropriate changes in views