Looks like @good_credentials is initialized but then not used anymore, is it really needed?