adjusted loading functions to use the currently logged in user