chaged MessageController/index and added scope in user model