create file structure and complete login register preliminarily.