Changed date format in views added flag for user model