adding authentication sample to app