master
add auth and register
fix email util
rewrite auth on cookie
replace deletion with deactivation
add logging