maitained the count of number of times the user has tried for registration