added confirmation and success pages