I don't think I need to define that part

If it is redirecting it is because they are trying to get to the login
page and they will always be on the root dir when it redirects.