clean code, remove upload service
connect to redis, add cookie middleware