tested registration of user