added friendly id for pretty urls