Restrict betroom creation and friend invitation

Restrict betrrom creation and friend invitation if competition end date
has been passed