Code is working, but multiple logins will return duplicates. These need to be filtered accordingly