check remote user login already in init function