State machine 3

I have deleted `block` field in User model, and added state field instead of it