def get(self, request, *args, **kwargs):
serializer = self.serializer_reader_class<EOL>if request.user.is_authenticated():<EOL><INDENT>return Response(serializer(request.user, context=self.get_serializer_context()).data)<EOL><DEDENT>else:<EOL><INDENT>return Response({'<STR_LIT>': _('<STR_LIT>')}, status=<NUM_LIT>)<EOL><DEDENT>
return profile of current user if authenticated otherwise 401