logging login-count and last login date