Working authentication and authenticated actions.