added auth middleware
0.0.6