More user and invitation logic