controller + service + dao + hibernate are realized.
And a simple login page could be used.