Almost all functionality to registration function has been added.