updated register to clear login fields after redirected to the login activity in case a previous user is remembered
update saved preferences