add register method and account activation