DB auth and reminder logic added