created 'middleware develop' for security of development stage and inserted 'template' directory