create LoginBean
global change, add JPA support