title: Login system for multiple platforms (android, website, ios)
body: <p>Is the following secure and is the following a good way of working?</p>
  
  <p>I am making a login system for multiple platforms.(website, android, ios)<br>
  When you register successfully, the server generates a random 'access key'.<br>
  Then I send that key back to the client.<br>
  The client stores the key locally.<br>
  This way the client only has to log in once.<br>
  With that key the client can do anything (sending messages, receiving messages, etc)<br></p>
  
  <p>For all clearness each user has a different 'access_key'</p>