Implemented secret pages in rails
Added sophisticated error handling