add delete function and front page display