Using Fallback causes expo router issues

I am building an application using expo router and realm react, the issue I am running into is when I use fallback and send it to my login page I am no longer able to access my other pages(register user page and forgot password page) because it give me the error of attempted to navigate before mounting the root layout component. Ensure the root layout component is rending a slot, before adding realm reach and mongo db to my project this routing was working perfectly fine but once I added the fallback it does not work anymore
any suggestions?