page refresh in room causes user to be sent to main page