Issue #003: Uses cookies to display error message when user provides invalid login information.  Issue #010: Implements proper handling for cases where a user cancels his or her invitation.