Add ability to mock requests, implement auth actions and logic.