View profile now just redirects to the currently logged in user's profile page so logic is in one place only
Modified the settings to assume that the API URLs have no prefix. Instead, added the api/ prefix to host of team 1 which is the only host that needs it now.