make session methods in service return data from server to caller