Added error handling for players not found and directive to submit on enter