login still have some bug with Library2