Update last_seen field before each request.
Moved all decorators in decorators.py.