updating authentication
fixing all the crazy