fixed put data and added settings page