add password encdoe
add salt to registration
change log format
add login