From Good-Tutorials: PHP –Making A Cool Login System With PHP, MySQL & jQuery:
We are developing a cool and simple login/registration system in a few easy to follow steps. You can download the complete source code and modify it to fit your own needs.