fixed layout issue and issue with devise user registration