added logic to redirect to dateplans and activities from profile page