From Visual Studio 2012 there is ready made controls for Login and Registration and you don't need to do anything. You can customize it also as per your need.
Go through the below links :
Hope this will help you.
DNS Gold Member
"Failure is the path of least persistence"