added conditional on user routine page