Added preferences home page and layout