Updated sample login app