Fixed sign-in throttling and added DB structure