The login action creator receives an object of username and password and returns a plain JavaScript object with a type property of [Login Page] Login, with username and password as additional properties. The returned action has very specific context about where the action came from and what event happened.