additions for login records