configuring open URL based on user tab