Done some code cleanup and began work on register page