Correct gulpfile.js, add authoriztion based on sessions