add correct redirect pattern to login controller