Added link to device edit and added Device's check_access
Added device edit view