cleaned up register form and started writing documentation