Did you check out SQLFORM.factory? http://web2py.com/book/default/chapter/07#SQLFORM.factory
I'd highly recommend using Web2py's built-in user functions, at least initially. It includes all the basic user functions. Then you can focus on your application and come back to user auth later if you really don't like what you get with the built-in functionality.

