updated the authentication urls with context variables