fix redirect to '/' and '/signin'