Added attr_reader to user.