Work for login authentication and notifications.