Added nice error and success pages