Login system

Hi , someone can help making a login system like facebook ( store users login in database ) using tokens …

This question is too generic - do you have any questions that are more specific about this? Otherwise, I can only say that you should have a read online for some php login tutorials.