The page '/login' was replaced with '/home', but some users may still have the old URL in their bookmarks, it can create a loop during the authentication process. We redirect the user to '/home' if they try to access '/login' page, it will prevent edge cases.