You can just bungee the backpack to the rack (strap side up) like I do. They also make panniers that work like a backpack off of the bike.
Also, don't worry to much about food. Soon your body will become more efficient the more you ride. Although It wouldn't be a bad idea to keep extra at work for those "just in case" moments.