upated login auth