Finished RegisterActivity. Added comments