made changes in layout and controllers for devise