user register & login demo, part of register