Added view action
Added namebyid action