profile and login using registry api