Added redirect to root after editing user profile