Fixed sign in message persisting when the sign-in form was resubmitted

Closes #6.