Added explicit data refresh and put functionality; fixed login_id typo