created 'middleware develop' for security of development stage