partly refactored auth
refactored and made register on demand
add check in auth
update readme, add version and changelog, fix tests