Added comments for settings controller