validating data already in a table and redirecting to url

validating data already in a table and redirecting to url

Hi there.
I'm trying to create a login screen.
I have:

user view
user form
login form

--
I'd like to use the "login form" to validate a userid and password in the "user view".
If valid then redirect me to "user form"

Please help.
Thanks.