changed login to timed reditect