Abstracting the validate user stuff a little more