adding server side logic for expired page
expired view is working