updated structure od proxy table; added support for redirecting token to
app;