Well for the moment there are two "end if" missing.
Anyway I would suggest a little redesign. First removing frome the sensistivity list anything but clk and rst, these two are enough for the clocked process indeed.
Then not mixing the reset with any other action. In this...