I am using visual studio 2008 to develop the web application. but I am not using the login controls in asp.net for logging in of users.I created my own new user registration aspx page and login page.i have my own sql database.logged in user details are now successfully entered into the database.

forgot password and change password also , i wrote code myself without using its controls.

but authentication is windows.

I want to make it form authentication and validate the users using membership provider .I also want to assign two roles-administrator and user.

But i don't have any idea how can i do it.
please anyone help me to create my own membership provider and how to assign roles

Can't you just make a Roles table and have user and administrator in that table and use the RoleID as a FK in the Users table? Membership provider not understanding or missing the idea?