Create OAuth middleware base on Godin

issue from #3