Add delete functionality and link to register