added edit link and pg for profiles