fix realtime chat authorisation
add return_to feature for create identity