allow setting `isonline` in user register