fix login add fix test and add migrate to change users.