updates and authentication additions