reforked all the thing with devise and haml