u need to remove TWRP recovery from your phone totally.
-i Flashed stock android recovery (well i got it by experimenting, as i rooted my phone again by ODIN it replaced the TWRP recovery with android recovery(turn off Auto-Reboot))
-you will be stuck in boot loop mode (stuck with the logo- good news is you are out of TWRP recovery boot loop)
-you have to get to boot loader anyhow (either by adb commands or vol down, home, Power key pressed all together)
-Flash TWRP recovery again using ODIN (turn of Auto-Reboot)
-hold the power key which will try to restart the phone.
-still it is boot loop mode.
-enter Boot loader (pressing Power key, Volume down, home- all three keys together or by adb commands)
-enter TWRP recovery (pressing Power key, Volume up, Home key- all three keys together or by adb commands)
-Restore your backup
-and you are good to go
I hope this helps you too!!