Finish demo_app in chapter2
Added email valiable authentication