Fixing an error where if a user is not signed in and attempts to visit /account or /account/edit, a call to getUserAccount() is made, resulting in an unhandled runtime error.
imports user context to both /account and /account/edit pages
checks for a currentUser in the corresponding useEffects to prevent any calls to getUserAccount() if a user is not signed in.
Fixing an error where if a user is not signed in and attempts to visit /account or /account/edit, a call to getUserAccount() is made, resulting in an unhandled runtime error.