validation implemented for long stay

validation implemented for long stay