Fixed NoticeTable for Foundation, added Devise authentication, some fixes.