updated login file redirect