Session.get()
finds an entity by its primary key. To find entities via other means, you need to execute queries:
LoginBean user = (LoginBean)
session.createQuery("select lb from LoginBean lb where lb.email = :email")
.setString("email", email)
.uniqueResult();
Queries and JPQL are explained in the reference documentation. Read it.