added generic password field template
fixed query::count return problem
added a temp "display" param to to_array