Registration pretty much done. Bugs and ui to work out