Add redirect on unauthorized and sign in