Now using a singleton for authentication