Login controller added, and some jsf pages are modified.