Better Login, SQL cache