title: Website login system - authentication with websocket server
body: <p>I need a login system for my website through which i can securely authenticate my users on my ws server. <strong>The client side code is a javascript function, which is able to send a token over as a packet and the server side code gets the packet and gets the string out of it.</strong> From here i could connect with a datebase or whatever.</p>
  
  <p>My problem is, i don't want to send over the username and password, because this seems very <strong>unsecure</strong> to me. Is there any way to authenticate through a secure way? I just want to let the server check if the user is loggin in and if that's the case which account it is. I was thinking about <strong>google auth</strong>, but i don't know where to start.</p>
  
  <p>I hope you can help me.
  Kind regrads,</p>
  
  <p><em>Simon</em></p>