sign + database working ... need some rework :(