added remerber the settings and redirect for RESTfulness