DB schema revised - loginkey is now a property of a user, updated as
needed