Register, login, and profile edit actions to use API.