Created a mixin to check auth on route