working on db stuff
working registration