changed profile and authenticate apis