Cleaned up authService.
flash