fixed bugs, tested some thing, and finished registration process