added login+reg+authentification (unfinished)