Validate login, delete scriplet from menu page and move it to the UploadFile