Refactory test code and display reply form for unsigned user