Added rspec tests for page model, factory for pages. Changed the redirect after successful page creation.