added isAuthenticated middleware
new build