updated to sign in and text, transmit beacon on viewdidappear