update index.html and the base struct
added register
 added logout
Login, Logout, User is ok
encrypt the password
changed readme