adding a client type identification into the rest-session call