added root redirect if logged in or stay on root to signup or login if not already logged in