> if user == context.getId(): Have you tried: if str(user) == str(context.getId()): I'm just guessing. // m -