def get_my_conversations():
    username = get_current_user().username
    user = User.objects(username=username).first()
    conversation_ids = user.conversations
    return Conversation\
        .objects(conversation_id__in=conversation_ids)\
        .order_by('-timestamp')\
        .select_related()
def get_current_user_obj():
    username = get_current_user().username
    return User.objects(username=username).first()