I had a Razer Deathadder 2013 for around 6 months one or two years ago, the software drove me insane and, as I use a claw grip, the mouse wasn't really comfortable to me. Sold it and got a much simpler Logitech G300 that's with me until now, great mouse all around.
I definitely would say that Logitech is way superior to Razer for mouse.
About keyboards, I have a Cooler Master Quickfire TK and love this keyboard with Cherry MX Browns, but there are a lot of good keyboard brands in the market like DasKeyboard, Filco, Corsair, Cooler Master, Ducky, and many others