Fixed Adding and Editing Competition without login

Please check it