Adventa 0 Newbie Poster

Hi I have a simple web app that has a login area. The whole site is running through a controller providing the views so y login validation from the db should also use the Controller. I however only know how to do login using a bean and have never used a controller for it. Can anyone give me a quick idea of what's involved or what way to go with it :)