Fixing middleware to activate users. Faulty paths resulted in paths that had a / not being recognized. Thanks to @subglass!