complate register and change idenitfication from username to e-mail