Javascript How To Fix My Authentication And Redirection Problem

Javascript How To Fix My Authentication And Redirection Problem