User as instance doesnt work for maven