title: How do I make a user management and login module with roles in a separate table
body: <p>The problem I have is this: I have in my requirements a Users table and a Roles table separated.</p>
  
  <blockquote>
    <p>users(id, login, password, id_role, name, last name, telephone, ...)
    roles(id, role, description)</p>
  </blockquote>
  
  <p>I already have read and followed the authentication example <a href="http://book.cakephp.org/2.0/en/tutorials-and-examples/blog-auth-example/auth.html" rel="nofollow">here</a> but it has the role in the same table as the user's data. I don't know how can I relate both tables in cakePHP, especially in a login module. Can someone please help me?</p>