Added redis cache and session backend
Removed unneeded line of code
Fixed email template rendering