Creating a single entry point for loading the current user on app startup to avoid race conditions