register works without database :(