refactored link helpers and added confirm messages to some delete buttons