made a few minor changes to devise layout