registration populates db and redir to root