Implemented account regisstration