Adding user authentication check such that users must sign in before navigating to any page other than login screen