I am designing a website that has the option for members to purchase a monthly subscription to use a product. What I need made is a simple/secure registration system that allows the user to register with the site by filling in simple data such as e-mail & password OR to allow them to use the facebook login system to register with the site (and not the facebook registration plugin). I also need the database coded properly and that someone registering with the site has their data stored into the database automatically (database uses MySQL).
Thus when a user logs into the system, they can be taken to a page where they can manage their subscription/account with the website. Again it is the back-end that I need help with, you do not need to worry about any styling for the forms: just that the registration/authentication system functions properly.