Added a new helper to simplify the retrevial of the user's credentials