        None => {}
    }
    return None;
}

pub fn find_by_token(token: String) -> Option<User> {
    let sql = "select  \n\
            coalesce(u.id,a.id), coalesce(u.name, a.name), coalesce(u.email, a.email), coalesce(u.password, a.password)  \n\
        from zorya.tokens t  \n\
        left join zorya.users u on t.email = u.email \n\