Revamping web services to authenticate with UserProfile class.