Fixed syntax error in req access controller