updated SettingsController.
support search.
added user_agent and ip at LogModel.