Performance optimization with request.user
The user
from the request class in Django is used in multiple locations. It seems that this result in an outrageous number of requests to the DB.
We need to look into storing all the user attribute in the request and making use of these new attributes through the backend to optimize performance a bit.