fix login method
release 0.5.0