fixed redirect loop. added actions and nfc actions