logging in as a store owner, redirects to /inventory instead of /dashboard.