refactor error pages
refactor error pages
present Rest Apis