add lastlogin method
ready to pub