redirect using helper paths, added flash notice