Added messages page and fixed saving off data