redirecting to lesson detail page after sign-in action with devise