Added sign-in check condition to details page