changed database user columns
and a bit of the template