Added two factor auth support. Closes #43