you also might want to look at Emergency Lights, or Exit Lights, or combinations. They come on after AC power is lost and operate on battery backup.

as Cptan indicated, you may want to consider running the AC power direct, and not from a switch.