Update modules.py

user.username not assumed right in django 1.5.