added login capabilities to the Invite App