Added all of the correct hooks for adding the user credentials.