fixed authentication problems on adding new stocks