def handle_authenticated_user(self, response):
current_user = get_user(self.request)<EOL>ulogin, registered = ULoginUser.objects.get_or_create(<EOL>uid=response['<STR_LIT>'],<EOL>network=response['<STR_LIT>'],<EOL>defaults={'<STR_LIT>': response['<STR_LIT>'],<EOL>'<STR_LIT:user>': current_user})<EOL>if not registered:<EOL><INDENT>ulogin_user = ulogin.user<EOL>logger.debug('<STR_LIT>')<EOL>if current_user != ulogin_user:<EOL><INDENT>logger.debug(<EOL>"<STR_LIT>" % (current_user,<EOL>ulogin_user)<EOL>)<EOL>ulogin.user = current_user<EOL>ulogin.save()<EOL><DEDENT><DEDENT>return get_user(self.request), ulogin, registered<EOL>
Handles the ULogin response if user is already
authenticated