add login, logout, reg functions.
basic version
todo, validation, update in the user table like email and... and crypto jobs.