def get_user(self, request):
        """
        return active user or ``None``
        """
        try:
            return User.objects.get(username=request.data.get('username'),
                                    is_active=True)
        except User.DoesNotExist:
            return None
return active user or ``None``