sessionFactory is not being initialized and leads to nullpointerexception - Login Increment