added useful message and made it redirect