added 2 class login and register

Working on coding convention on this project.There there are some
additional file as tutorial.