added authentication endpoint && some other stuff