able to check offline record and redirect user to room