feature/JARVIS-412 Create authentication middleware