little debug after testing new pattern of login inside a middleware