Sign-up functional but redirect fails