Undo changes and refactored notice controller
Added pagination