changes to preferences model and added preferences page availability